package com.strive.common.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.strive.common.model.base.SuperEntity;
import com.strive.common.model.po.SysPowerCodesPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @description: 角色
 * @author: bingcun.chen
 * @Date: 2022/2/22 14:58
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role")
public class SysRole extends SuperEntity {
    private static final long serialVersionUID = 4497149010220586111L;
    private String code;
    private String name;
    @TableField(exist = false)
    private Long userId;
    private String describes;
    private Integer enabled;
    private Integer sorts;
    private String title;
    @TableField(exist = false)
    private List<SysPowerCodesPo> menuAndPowers;
}
